/*
 * @Author: windy
 * @Date: 2021-07-16 10:59:43
 * @LastEditTime: 2021-07-16 11:04:43
 * @LastEditors: windy
 * @Description: 路由相关
 */
import Vue from "vue";
import VueRouter from "vue-router";

import Index from "./views/index.vue";
import Windy from "./views/windy.vue";

Vue.use(VueRouter);

const routes = [
  { path: "/", component: Index },
  { path: "/windy", component: Windy },
];

const router = new VueRouter({
  routes,
});

export default router;
